package com.lykj.llw.box.data.bean.response.agent;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

public class AgentUserInfoResponse {

    /**
     * code
     */
    @SerializedName("code")
    private String code;
    /**
     * status
     */
    @SerializedName("status")
    private Boolean status;
    /**
     * message
     */
    @SerializedName("message")
    private String message;
    /**
     * data
     */
    @SerializedName("data")
    private DataDTO data;
    /**
     * exceptionClazz
     */
    @SerializedName("exceptionClazz")
    private Object exceptionClazz;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public Object getExceptionClazz() {
        return exceptionClazz;
    }

    public void setExceptionClazz(Object exceptionClazz) {
        this.exceptionClazz = exceptionClazz;
    }

    public static class DataDTO implements Parcelable {
        /**
         * bankAccount
         */
        @SerializedName("bankAccount")
        private String bankAccount;
        /**
         * monthSumMoney
         */
        @SerializedName("monthSumMoney")
        private Double monthSumMoney;
        /**
         * level
         */
        @SerializedName("level")
        private Integer level;
        /**
         * bankType
         */
        @SerializedName("bankType")
        private String bankType;
        /**
         * weekSumMoney
         */
        @SerializedName("weekSumMoney")
        private Double weekSumMoney;
        /**
         * bankName
         */
        @SerializedName("bankName")
        private String bankName;
        /**
         * headPic
         */
        @SerializedName("headPic")
        private String headPic;
        /**
         * money
         */
        @SerializedName("money")
        private Double money;
        /**
         * nickname
         */
        @SerializedName("nickname")
        private String nickname;
        /**
         * isCan
         */
        @SerializedName("isCan")
        private Boolean isCan;
        /**
         * dailiRatio
         */
        @SerializedName("dailiRatio")
        private Double dailiRatio;
        /**
         * tel
         */
        @SerializedName("tel")
        private String tel;
        /**
         * daySumMoney
         */
        @SerializedName("daySumMoney")
        private Double daySumMoney;

        @SerializedName("loginNum")
        private Integer loginNum;

        public Integer getLoginNum() {
            return loginNum;
        }

        public void setLoginNum(Integer loginNum) {
            this.loginNum = loginNum;
        }

        public String getBankAccount() {
            return bankAccount;
        }

        public void setBankAccount(String bankAccount) {
            this.bankAccount = bankAccount;
        }

        public Double getMonthSumMoney() {
            return monthSumMoney;
        }

        public void setMonthSumMoney(Double monthSumMoney) {
            this.monthSumMoney = monthSumMoney;
        }

        public Integer getLevel() {
            return level;
        }

        public void setLevel(Integer level) {
            this.level = level;
        }

        public String getBankType() {
            return bankType;
        }

        public void setBankType(String bankType) {
            this.bankType = bankType;
        }

        public Double getWeekSumMoney() {
            return weekSumMoney;
        }

        public void setWeekSumMoney(Double weekSumMoney) {
            this.weekSumMoney = weekSumMoney;
        }

        public String getBankName() {
            return bankName;
        }

        public void setBankName(String bankName) {
            this.bankName = bankName;
        }

        public String getHeadPic() {
            return headPic;
        }

        public void setHeadPic(String headPic) {
            this.headPic = headPic;
        }

        public Double getMoney() {
            return money;
        }

        public void setMoney(Double money) {
            this.money = money;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public Boolean getIsCan() {
            return isCan;
        }

        public void setIsCan(Boolean isCan) {
            this.isCan = isCan;
        }

        public Double getDailiRatio() {
            return dailiRatio;
        }

        public void setDailiRatio(Double dailiRatio) {
            this.dailiRatio = dailiRatio;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public Double getDaySumMoney() {
            return daySumMoney;
        }

        public void setDaySumMoney(Double daySumMoney) {
            this.daySumMoney = daySumMoney;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.bankAccount);
            dest.writeValue(this.monthSumMoney);
            dest.writeValue(this.level);
            dest.writeString(this.bankType);
            dest.writeValue(this.weekSumMoney);
            dest.writeString(this.bankName);
            dest.writeString(this.headPic);
            dest.writeValue(this.money);
            dest.writeString(this.nickname);
            dest.writeValue(this.isCan);
            dest.writeValue(this.dailiRatio);
            dest.writeString(this.tel);
            dest.writeValue(this.daySumMoney);
        }

        public void readFromParcel(Parcel source) {
            this.bankAccount = source.readString();
            this.monthSumMoney = (Double) source.readValue(Double.class.getClassLoader());
            this.level = (Integer) source.readValue(Integer.class.getClassLoader());
            this.bankType = source.readString();
            this.weekSumMoney = (Double) source.readValue(Double.class.getClassLoader());
            this.bankName = source.readString();
            this.headPic = source.readParcelable(Object.class.getClassLoader());
            this.money = (Double) source.readValue(Double.class.getClassLoader());
            this.nickname = source.readString();
            this.isCan = (Boolean) source.readValue(Boolean.class.getClassLoader());
            this.dailiRatio = (Double) source.readValue(Double.class.getClassLoader());
            this.tel = source.readString();
            this.daySumMoney = (Double) source.readValue(Double.class.getClassLoader());
        }

        public DataDTO() {
        }

        protected DataDTO(Parcel in) {
            this.bankAccount = in.readString();
            this.monthSumMoney = (Double) in.readValue(Double.class.getClassLoader());
            this.level = (Integer) in.readValue(Integer.class.getClassLoader());
            this.bankType = in.readString();
            this.weekSumMoney = (Double) in.readValue(Double.class.getClassLoader());
            this.bankName = in.readString();
            this.headPic = in.readParcelable(Object.class.getClassLoader());
            this.money = (Double) in.readValue(Double.class.getClassLoader());
            this.nickname = in.readString();
            this.isCan = (Boolean) in.readValue(Boolean.class.getClassLoader());
            this.dailiRatio = (Double) in.readValue(Double.class.getClassLoader());
            this.tel = in.readString();
            this.daySumMoney = (Double) in.readValue(Double.class.getClassLoader());
        }

        public static final Parcelable.Creator<DataDTO> CREATOR = new Parcelable.Creator<DataDTO>() {
            @Override
            public DataDTO createFromParcel(Parcel source) {
                return new DataDTO(source);
            }

            @Override
            public DataDTO[] newArray(int size) {
                return new DataDTO[size];
            }
        };
    }
}
